<div class="traitNav"></div>
<nav>
    <div class="menu-links">
        <ul>
            <?php foreach($pages as $key => $value): ?>
                <li id="<?php echo $value['id']; ?>"<?php if($value['id'] == $activePage):?> class="active"<?php endif; ?>>
                    <a href="<?php echo $value["url"]; ?>">
                        <span><?php echo $value["menu-title"]; ?></span>
                    </a>
                </li>
            <?php endforeach; ?>
        </ul>
    </div>
    <div class="clear"></div>
</nav>
<div class="traitNav"></div>